package com.example.hotelapp.Bean;

import java.util.List;

/**
 * 首页酒店信息实体类
 */
public class HomeIndexBean {

    /**
     * code : 1
     * msg : 查询成功
     * data : [{"id":1,"hotelId":1,"minPrice":90,"hotelName":"千旅星漫度假酒店","hotelAddress":"北京市朝阳区","hotelPhone":"18419719946","hotelLevel":"五星级","remark":"这个酒店很不错","hotelPicture":"jiudian3.jpeg"},{"id":2,"hotelId":2,"minPrice":120,"hotelName":"宜尚连锁酒店","hotelAddress":"北京市朝阳区","hotelPhone":"18419719946","hotelLevel":"五星级","remark":"这个酒店很不错","hotelPicture":"jiudian2.jpeg"},{"id":3,"hotelId":3,"minPrice":180.56,"hotelName":"818全国连锁酒店","hotelAddress":"北京市朝阳区","hotelPhone":"18419719946","hotelLevel":"五星级","remark":"这个酒店很不错","hotelPicture":"jiudian1.jpg"}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * hotelId : 1
         * minPrice : 90.0
         * hotelName : 千旅星漫度假酒店
         * hotelAddress : 北京市朝阳区
         * hotelPhone : 18419719946
         * hotelLevel : 五星级
         * remark : 这个酒店很不错
         * hotelPicture : jiudian3.jpeg
         */

        private int id;
        private int hotelId;
        private double minPrice;
        private String hotelName;
        private String hotelAddress;
        private String hotelPhone;
        private String hotelLevel;
        private String remark;
        private String hotelPicture;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getHotelId() {
            return hotelId;
        }

        public void setHotelId(int hotelId) {
            this.hotelId = hotelId;
        }

        public double getMinPrice() {
            return minPrice;
        }

        public void setMinPrice(double minPrice) {
            this.minPrice = minPrice;
        }

        public String getHotelName() {
            return hotelName;
        }

        public void setHotelName(String hotelName) {
            this.hotelName = hotelName;
        }

        public String getHotelAddress() {
            return hotelAddress;
        }

        public void setHotelAddress(String hotelAddress) {
            this.hotelAddress = hotelAddress;
        }

        public String getHotelPhone() {
            return hotelPhone;
        }

        public void setHotelPhone(String hotelPhone) {
            this.hotelPhone = hotelPhone;
        }

        public String getHotelLevel() {
            return hotelLevel;
        }

        public void setHotelLevel(String hotelLevel) {
            this.hotelLevel = hotelLevel;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getHotelPicture() {
            return hotelPicture;
        }

        public void setHotelPicture(String hotelPicture) {
            this.hotelPicture = hotelPicture;
        }
    }
}
